package com.example.proxy.jdkproxy;

import com.example.proxy.staticproxy.ImplClass;
import com.example.proxy.staticproxy.StaticProxyClass;
import com.example.proxy.staticproxy.StaticProxyInterface;

public class Main {
    public static void main(String[] args) {
        ImplClass implClass = new ImplClass();

        StaticProxyInterface staticProxyInterface = (StaticProxyInterface) new JDKProxyClass().bind(implClass);
        staticProxyInterface.operate();
    }
}
